added tests for matrix and matrix::identity()