update testcase for #50
merge
fix path.relative when file and directory are the same name #50
update testcase
fix relative name