Simple two-level cache implementation for test work