fix(test/unit/templating.js): fix unit tests