Fix minor bugs in the HSv3 unit tests

The tests:

  • copy the first 20 characters of a 40-character hex string to a binary fingerprint
  • put IPv6 addresses in a variable called "ipv4"
  • do a duplicate tt_int_op() to deliberately fail and print a value, without a comment explaining the code

Let's review these changes in #23576 (moved).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information