How about just:
```
String testZone = System.getProperty("test." + provider + ".zone");
if (testZone != null) {
   zones = ImmutableSet.of(testZone);
} else {
   zones = api.getConfiguredZones();
}
```
?