Add test for parser.