The test was assuming that all the read-write mimetypes were always available in the CreateDialog's filter. This is no longer the case after commit 59b5fe45.