add test for report keyword, and lexer constructor