add directives tests