Testing IPC with named pipes