Fix AM testcase break with mail 2.5.4. It seems that AM's testcase was wrong.