Tests for editor widget

This pull request contains tests for editor widget.
There are two test files, one testing all public functions for both - inline and basic - editors, the other tests toolbar.
Toolbar tests are currently ignored as they are not passing.