Added unit test for orthogonal basis.