added a test for Point class