it('should fail correctly with duplicate characters', function() {
          // Given: a string that is longer than the pattern, but matches after to the wildcard, and the pattern
          var pattern = '*))))))*',
                  string = ')))))';