added test for getIdentityMatrix