Fix use of redis pub/sub in core tests.
Fix use of redis pub/sub in core tests.

Assume the messages are passed as strings, and waait for successful subscription before expecting to receive events.

plediii/venacava