Issue 187 add proper equals method testing for config

Closes #187.
Sorry for the size of this PR but automated proper testing requires a few lines of code...
Why did you change this? This looks like a change which has nothing to do with the test framework and generally would make sense. This is not a problem I just ask to understand the implications a bit better :)