Add tests to exercise intential malicious overflow.

This commit adds several tests which intentionally attempt to feed
malicious data to the various deserialize functions.