Reworked all the send data unit tests and added the send explicit data ones.

- Fixed some bugs found when executing the unit tests.

Signed-off-by: Diego Escalona <diego.escalona@digi.com>