Comprehensive unit tests for open_changelog_with_edit with stubs and script variable stubs
Cleanup
Add comment explaing how to stub script variables
Cleanup and ignore editor in integration tests