fix host_test unit test