adding hosts unit test