Unit tested Rect.