Add host cli factory and positive create test

Related to issue #747
Good suggestion. Seconded.