directive tests