Added more tests for Rect.