Adding io_manager test.

Still have to fix a small datarace that the client should only
be started after the server (or should retry until the server arrives).