Adding tests for parser.