Add rotation test.