Fix dft_vs_phot test utility to work with multiprocessing
(#401)