After discussing with Kevin, moved h2o.unit_main() into h2o.init().