test cases, rotation fixes