Fix queryserver spec

Run with:
rspec test/view_server/query_server_spec.rb