Add more tests to query cache