Add test on duplex communication