Closed objects in tests.