Add tests to verify that the different print formats and constant macros match. Fixes #44199 Signed-off-by: Yuval Peress <peress@google.com>