Added unit test for transformation matrix.