dir2json tests, adding exists option for files that are expected to exist but do not