Revise a little bit test-case for rotate-function