Added basename information to template variables

added documentation and tests for tplFile variable

restore old test features and create new test fixtures to test tplFile variable feature

fixes test typo
Changelog
Merge branch 'release/0.1.1'