updated tests for quaternion