Fix test where it assumed that it could send again after leaving