Fix LMS tests.