Added a unit test for Rects.