added tests around sending the card handler message stream