Proper lexer test for literals