directives unit tests except for sd-if