test implementation of lex.yy.c