Added directive tests