added directive tests