Test quaternion-based device orientation controls