add cli+hostname mgmt tests

Change-Id: I16434ec27825ab2be22ce74731f441817f4867b7
Reviewed-on: http://review.couchbase.org/40009
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>