Add a mock discovery module for better determinism

Links populated by SyncProtocol