multi-dimensional point and rectangle, and the test for them.