Adding and fixing tests for parser.