Reject invalid to_addrs values and test that rejection works.