refactored e2e-test.sh