add cache_test.cpp