optimize(ex4): some improvements in the e2e tests