Create tests for lexer
Add new method `createVersion` using lexer