lexer: add token matching tests

Signed-off-by: Alejandro Mery <amery@geeks.cl>