Fixes tests for rects