Fix query strings test