Return output after running a command.
Add test cases for workflow status.
Merge pull request #30 from runefriborg/develop

Fixed issue with handling failed tasks