Work in progress

The easiest way seems to be a move towards more references, which is a
good thing anyway.
Make it compile again
Reduce number of warnings
Allow setting filters on the test run
Fix test failure

This happened due to a change of the regexp code