Refactor integration tests to test clustering support.