Add test helper to Template class