Added directive and directive test.