assert that the cache does not silently fail
add test case
Merge pull request #1061 from dereuromark/2.3-cache-engine

Assert that the cache does not silently fail

Choosing an invalid cache engine should not be a silent error.