Fix image provider unit test.

Change-Id: I3a219d7c6277b1cd8332b35f9403e4d99352af41
Merge "Fix image provider unit test."