added host_config.rb and modified tests