### Selection attributes conversion test [#462](https://github.com/ckeditor/ckeditor5-engine/issues/462)

Open the console. Watch the logged data.

#### Test 1

1. Put caret inside unstyled word.
2. Press <kbd>Ctrl+I</kbd>.

Expected results:

* `<em>@@@@@@@</em>` was inserted into editable.
* selection has the `'italic'` attribute.
* selection anchor's parent node is `<em>`.

#### Test 2

1. Put caret inside bold word.
2. Press <kbd>Ctrl+B</kbd>.

Expected results:

* `<em>` element from previous test got removed.
* `<strong>` element got broken.
* selection doesn't have the `'bold'` attribute.
* selection anchor's parent node is `<p>`.
