~ misc stuff for running tests