Done test for function rightLeft rotate