rewrite tests for new spec (tested in inproc, ipc, tcp)