Created a test program for verifying cache_test