test whether LogLikelihood is method