tests: add test coverage for zone family selection logic