adding tests for File Cache
added a few more unit tests for the cache