added tests on output