remove old test
fix the list-files return value
replace list-files-string with list-dir