Tests: Written for editor instance resize method and event related to it.