test(gen): add tests for running the e2e tests in production mode