Add more test cases in test_parser