Fix m4 tests so that they run cleanly with prove.
Fix printf tests so that they run cleanly with prove.