tests: Fix program exit
tests: Fix trailing . on templated tdl pathnames
tests: Replace example template params with mirror locations
tests: Pass template render arguments as a dict
tests: Allow template arguments to be passed to test_helper.py