fix for test templates