Add tests for Point and Rectangle classes