[fix] Refactoring send method for avoiding issues with primus-rooms
[test] refactoring tests