TST: Testing of reference image subtraction implemented