Added test for ouput