unitary test for msg_smt module
Created by: vingu-linaro
Add unitary test for msg_smt module and fix some errors handling in the module
The unitary test covers 100% line code
I have removed the fwk_assert() because it stops the unitary test env. I haven't find a simple way to make fwk_asert a nop
Edited by Darryl Green