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...