Test in-memory hash cache