This makes rename the test units by a consistent naming scheme, add several logs, and sort internal functions. No functional change.
(Also, sort list of test unit files in meson.build alphabetically, to make future additions more systematic)