Add tests for CMS.Views.ChapterEdit, save content before opening upload dialog