(partially) fix LeakChecks unit test
The failure behavior changed, so I updated the test for it. There is still some issue that it always detects leaks with the batch driver, not sure if it is real or fake.
The failure behavior changed, so I updated the test for it. There is still some issue that it always detects leaks with the batch driver, not sure if it is real or fake.