     }
      });
      test('dealing with hashes with unusual characters', function() {
        var hashEncodingExamples = {
          'foo': '#foo',
          '': '',
          'foo bar': ['#foo%20bar', '#foo bar'],
          'foo#bar': '#foo#bar',
          'foo?bar': '#foo?bar',
          '/foo\'bar\'baz': ['#/foo%27bar%27baz', '#/foo\'bar\'baz'],
        };
        for (var plainTextHash in hashEncodingExamples) {
          var encodedHashes = hashEncodingExamples[plainTextHash];
          if (typeof en