Add test for rotate option