test for distance failing if non-length given