removed gateway blacklist (kept whitelist only) and moved the test_gateways call to sync_all