Deduplicate HTMLBars / Handlebars Helper tests.

Finishes what was started in #9529.

/cc @mixonic