Abstract test helpers and runner creator into separate module