Refactoring Integration tests.