minor test refactorings in BindingTemplateTest