Add query-cache rspec tests