Unit tests for rotate modifiers.