tests for rotating 180 and 270