Fix host option and add regression test
Release 1.0.1