fixed register e2e test assertion