The Neyman–Pearson lemma states that this likelihood-ratio (lr) test is the most powerful among all level α alpha tests for this case.
Is this only true for infinite sample sizes? Is it possible that in some cases for finite samples there may be tests which are more powerful for a given alpha level? If so, what kind of test would be better than the likelihood ratio test and in which situations?
I know the distribution of the likelihood ratio statistic is largely unknown for finite sample problems, but if it's important, I'm willing to assume for the sake of this question that we always know the true distribution of the lr statistic for our given problem.
Another part of my question is what even are non-lr tests? It feels like everything is actually an lr test (e.g. t-test, f-statistic, parametric bootstrap, etc.) i suppose in some instances least squares (and method of moments) must not be equivalent to lr, so for finite samples are there some instances where least squares could actually outperform lr for example?