added cache management for test helper