test for directives with the same name