add tmpls tests
Merge pull request #63 from verybigman/tests

Add test for templates