Clears the cache on test DB creation and destruction.