completed tests for overlapping rectangles