Deduplicate HTMLBars / Handlebars Helper tests.

Finishes what was started in #9529.
Merge pull request #9532 from rwjblue/dedup-helper-tests

Deduplicate HTMLBars / Handlebars Helper tests.