The create method returns a dictionary contaning stdout, stderr and retcode. No need to catch anything. The tests can then do all sort of assertions.