fix cout tests