redoing test helpers as bash