got lmp tests to work, fixed one off error