ShutdownTest: make the tests work in Eclipse

This fix is necessary to avoid problems with the EclipseHelper.
Otherwise, the context class loader from one test -- which has been
modified by ImageJ 1.x and the legacy layer -- bleeds into the next
test, causing it to fail.

Thanks to Johannes Schindelin for suggesting the solution.