Image metadata test fixes.