testRotateOnlyNearCorner added