test directives with param