Self test: make test more generic
Self test: make test more generic

Line numbers change everytime the main script changes. Now the error
message it filtered and fixed at number N.

aureliojargas/clitest