Created test (and fix) for directives. #94