Fixes EditorOptionHandler test by cleaning up the PreferencesManager in the test window.
Add comment per review
Merge pull request #6503 from adobe/dangoor/fix-EOHtest

Fixes EditorOptionHandler test