printf: add tests for p