added a test for rotating the device