add a test checking that streams are duplexed