Fix some tests
Support multipage editor