Add test for processAndCacheFile
Add test case for processFile error handling
Restore processFile