auto-close integration test