Fix linenumber in error output when parsing more than one configuration
Generalize test config and put more tokens in it