fix bug in find jpegs test

- use a set not a list so that the order of files returned from
  find_images is not important tests.