Append lexer unittest

Add one more regex case,
to demonstrate that first match wins
Improve lexer unit test

To better reflect '1st match wins' rule