Add option to report exit code of processes when testing