Added tests for setuptools based template registration