* changes: Make sure getActiveNetwork is consistent with default callbacks Add tests for getActiveNetwork.