better template tests