New printf tests + minor fixes / improvements