Add testing for default_discovery_method being set