fixed e2e test (executable with ./scripts/e2e-test.sh)