add tests for Point class