Added asserts to test_basic_quaternion