Make sure asynchronous unit tests don't leak plugins