Fix incorrect validation test