make sure verify actually checks exit code