fixing tests for new editor