BDD-style assertions for stdio streams