fixing template tests after the template changes