test(gen): comment test functions and move runE2E to runTest