[socket] [test] Passing tests for socket resource