first working variant of e2e test