Made hosts global in tests