make end to end test setup idempotent