Fix unit test and add comment about Flush() usage in cache2.cc