add directive tests coverage