shadow: Add unit tests for LunrCliParser class and small cleanup.
shadow: minor refactoring of the LunrCliParser class.