tests: Add test for socket_wrapper fd-passing support