Modifies sockets test to reflect structural changes to sdk.