added code to run the parser test cases