* Reload config on change. Added test case. * added testing for adding the json with reloadOnChange = false