fix up tests for network-socket