Add test cases for parse.go