Add tests for purplex's lexer