Ensuring query cache is cleared.
Moved test.