It is a child of `inlinemediaobject`, not `imageobject`. Add regression tests for #8437. Closes #8437.