Added clear cache for unit testing