Fixed parsing of Git remote URLs in stop.
Refactored and expanded editing unit tests.
Refactored setup/teardown for config test.