added tests for point and clean the test code a bit
Merge pull request #66 from wilkerlucio/wilker/point_test_and_refactoring

added tests for point and clean the test code a bit