validate test