Update unittest in lexer.d
Add conditionals