Add a new test: test_checkExitWaitedCommandAction().