added test for orthogonality is preserved by change of basis