Testing image subtraction