Threshold project : Tests added

SRC catch exception now when reading and writing the image files. Tests realized : opening file, wrong image input , out of boundaries threshold values, correct inputs. SEM Macro added to the project