In general, to test random effects, they recommend using Restricted maximum likelihood (REML).
To be clear: These limitations on Wilks' theorem do not negate any power properties of a particular likelihood ratio test.