Fixes distance formating (non float), adds new test for this...