test on directives