Fix warnings about <::
Fix decode test to actually decode message from stdin