fixed up sender side and message consumption

tests passing