Small refactoring of Lexer and Parser Test
Removed unnecessary imports and methods