test(unit/templating.js): cleanup test #1138