add coverage tests for lexer.c