Update config dicts recursively, base testcases for testing duplicate configs, merging configs. #3