test with directives