fix distance/units test