improve printf tests coverage