tests/unix_sockets: Make a separate message object for set creation