Test constructing most message types from invalid data.