Adding query storage test.