added output with test cases included