Functionality for merging the user config over the default one and tests for it.