wip test provider exists but cannot connect to peer
fix check for nil in public interface and all external callers