changed stream assertion