more tests on directive