fixed test that was leaking JobThreads

so e.g. every time you ran TestPlotModels, four JobThreads were
created that never went away afterwards