This patch adds test for "add_host", "remove_host", "set_metadata". Change-Id: Ifcdb9368353c08dfd09b63a2ae0c29649337c31d