socket_multiplexer_test: better debugging output
fixed a bunch of tests