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...
Ok, they may be more stuff like this but I don't know ATM.