it('should work with multiple wildcards in the middle and at the end', function() {
          // Given: a string that is longer than the pattern, but matches after to the wildcard, and the pattern
          var pattern = 'te*st*ing*',
                  string = 'tea stings';