Added unit tests for points