H0: d22 = d21 = 0 (like in the lecture slides) or H0: d22 = 0 (like in the exercise session)
where d22 is the variance of the random slope and d21 is the covariance of random slope and random intercept.
I replied that both is okay, since d22 = 0 already implies d21 = 0. However, to clearify things I want to add two comments:
1. The above is correct - you can use both formulations and procede like we did in the exercise and like it is desribed in Chapter 5 Section 'LRT for the variance components' in the lecture slides.
2. Still, it is not correct that the fact, that also d21 = 0, does not inflict the testing like I suggest it: it is accounted for in the second part of the mixture distribution of the test statistic, the chi-squared distribution with one less degree of freedom. But this is already part of the procedure, so for application, you don't have to consider anything but comment 1.
Best regards,
Almond