added a test for rotations