add `EditSession.onChangeWrapMode` and tests for changing `useWrapMode`