added unit tests for distance conversions