Implemented option merge for insertConfig
Added some more tests for config merge
Added some more tests for config merge