Fix cache-related tests

The tests were failing because the StoryIndex signal handlers were
updating the cache value (correctly) before the assertion check.  Instead
of checking that the cache value is None, just check that it's not the
stale dummy value.

Closes #563