Added test cases of FileCache.