a patch to add -load-validation and -load-test options