Remove image diff code from object testing routines.