lexer: refactor lexer_test.go

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