Integrate common stuff from reference models and add base_to_test function
This commit moves common parts of the prepare_zip_file code from the reference models to here.
Furthermore it adds the base_to_test function that creates a fast test htc
This commit moves common parts of the prepare_zip_file code from the reference models to here.
Furthermore it adds the base_to_test function that creates a fast test htc