Add host cli factory and positive create test

Related to issue #747
Explicit ``unicode`` for dictionary keys?