[SJS-209][TEST][BUG]: Fix for sendMessage and sendP2PMessage bugs.