test: fix tests after ECONNRESET patch