Fix LMS test.