Add host cli factory and positive create test

Related to issue #747
:+1: I have missed that. Thanks