Test cleanup

@kevgo

Push some code into helpers and introduce a few more run helpers
Okay.