Add make-rect and tests.