modified GenericParserTest.java