Add tests for cache entry
Test without nodemock