Added clear cache test.