unit tests completed - all methods work correctly, added distances test