Lrm test

Adds some tests, second version of LRM, project report