it('throws error if non-string passed in', function () {
    const result = function () {
      return tpl();
    };