updated testcases to use the new decode_message which returns both the
Header and Message objects