staticized/finalized numCompanies in GenerateTest