Refactoring of integration tests.