Add test suite for printf.
Merge pull request #4072 from porterjamesj/printf-tests

Add test suite for printf.