add unit test for class Point

Change-Id: Iabd944ebe49069af9f692261d1b4de1fb4f5bf00