Fixed bug with 'this' causing tpl vars not to work
Updated test for new version
Version bump 1.0.6