ticket:1 test checking correct output