make sure we have same types for identical comparison - fix #35
don't cast - rather supply proper type, so we cover just enough cases on co-incident points case
adding failing tests to DistanceTest (#35 and #36)
Merge pull request #36 from kornrunner/master

make sure we have same types for identical comparison - fix #35