Use a config library in tests

The world does not need more regular expressions.