Issue #23015: Improved testing of the uuid module.