Factor out test helpers into their own repo