test: protect e2e tests execution by creating a local scope