Change test of ndimage equivalence to use uint8 test image