NEXUS-5755: TL UTs did not properly shut down cache

Reason is that on this branch EHCacheCachaManager
got de-plxized, and seems Dispose is not invoked
anymore