Add a test for the 2d rotation.