MDL-47494 ddimageortext: Fix unit tests for 3.0 compatibility.