Test: PreferencesManager doesn't handle isDirty on objects correctly

Ping @dangoor & @RaymondLim - failing test for https://github.com/adobe/brackets/pull/7064