add basic tests for all functions in Point