Adding directive tests