Added rotate testcase