Fixing custom template interpolation key

* Added check when restoring interpolations
* Adding specs to test handlebars and custom template interpolations