Fix printf typo in test utility