Test cleanup

@kevgo

Push some code into helpers and introduce a few more run helpers
Stripping was only needed when using the output. This way the commands that are printed in the debug messages are what they should be and `output_of` function, which should now be used anytime you need the output of running a command, strips.