Add test on directives