fix test according to the mail changes