quickfix for directive unittests

TODO: refactor or rework these tests