integTest refactored