added hash function test for Point class