fixing shell() so that commands given on stdin are shown in error logs
fixed typo
added unit tests for change
unit tests updated
Merge pull request #213 from briandrawert/fix-random-errors

fixing shell() so that commands given on stdin are shown in error logs