added test for bug in createDiffImages - #24