it('should searches a string from right to left for a pattern and returns a substring consisting of the characters in the string that are to the right of the pattern or all string if no match found', () => {
    const template = Handlebars.compile('{{str_right_back str pat}}');

    expect(template({str: 'This_is_a_test_string', pat: '_'})).toBe('string');
    expect(template({str: 'This_is_a_test_string', pat: 'string'})).toBe('');