Add test for centroid for two rectangles