Add unit tests on parser.
Add unit tests on parser.