2 typos fix
added a test for lrn