should this be lmatrix? Is that the reason of the test failure?