calculation of test likelihood for GLAD

WARNING: the current calculation is just L except the entropy terms.