fix template test to use dynamic root path
Merge pull request #121 from dysania/fixing-template-test

Fix template test to use dynamic root path