added template file tests