Extend test_executeWaitedCommandAction() so that is can check a failure case.