Tests: Add common infrastructure for testing variable-sized channels, doids, and zones.