added exit code for provison test