Remove unused class variable in test.
Write helpers functions for testing query strings.