Lex: Add init test for lex now that logger is public
Merge remote-tracking branch 'dionyziz/newast2_init_test'