rotatedArrays tests