opt: The path detection
upd: doc
upd: test case