Use existing temp directory for test
Use class name as cache key