Do less mocking in testRunExitCode