Add tests for editor text content