Added more tests for isRotation.