added test generator function for zones