working on directive tests