add tests for LocationHelper.isDirectory
add tests for LocationHelper.getItemName