rectangle/point tests