Adding unit tests and args for edit_config.sh
Fixed edit config so that it works correctly in all unit test scenarios
Added the ability to specify a search for unit tests