Added asserts on Sytem.out tests