fix test_word_fail in test_msg_recoverydevice