Added simple test for rotate_inertia.