Add test for discarding invalid large messages.