tests rotation