Added expects to e2e-test