Fix issue with teardown fixture on mongodb