 'foo bar': ['?foo%20bar'],
          'foo#bar': ['?foo%23bar'],
          'foo?bar': ['?foo?bar'],
          '/foo\'bar\'baz': ['?/foo%27bar%27baz', '?/foo\'bar\'baz'],
          'foo/bar/baz': ['?foo/bar/baz']
        }, false)
      });
      test('dealing with queries with unusual characters - encodeSpaceAsPlusInQuery', function() {
        testQuery({
          '': [''],
          'foo bar': ['?foo%20bar', '?foo+bar'],
          'foo#bar': ['?foo%23bar'],
          'foo+bar': ['?foo%2Bbar'],
          