tests for isOrthogonal