adapted e2e tests