Added support for checking test case with input and output in files instead of relying on just exit status of output