test with directives and templatesb