[query_spec.rb] fixed issue where it doesn't deserialize back in to symbols. also moved .should to the LHS.