Made generator instantiable again to allow stateful customization of
generated tests. Added a ZIP builder routine.