Minor detail, but shouldn't we get rid of the mocked document and use the plain string (if you agree, maybe we could do it "just" for master, no need to backport it)