change unit tests with IO to normal console executing test