quaternion test performance