Fixed random image test.