test_integration: replacing port also in tests