test: Update test for one way messaging for various type messages
test: Update test for one way message from backend

Note: no need to test for removeListener, because it is tested by EventEmitter.
test: Create dummy envelopes by a helper function