prinft: add test for printf return value