Test cleanup

@kevgo

Push some code into helpers and introduce a few more run helpers
What do you think about naming this method `output_of`? It sounds more DSLish...