directive validity test