Test a program's basic IO using JSON test cases