[3.8] Fix mail-test command return value