test files and cache refresh bug fix