tests/unix_sockets: Use a ResourceSet instead of a res list