test format slash-only pathname (#11)