test: follow emit API change in socket.io interface

Options object is accepted insted of extra suffix.