Lm tests

Please review my changes.