I update the testAllPicturesIndirectory so that we can test multiple directory at the same time and we can change parameters