Reorganise test for clarity
Add ls_files() to return files in index