Removed deprecated x/y from rectangle test