Fixed failing unit tests & added unit test for the lexer bug.