working on directive testing