Added unit tests for Point2D and Rectangle2D