Print output from test cases