Mitigated memory leak in tests.