migrated all original tests from parser.c to parser.tests