simple test for parser_generator