Add tests to make sure the host is properly saved in the configuration.