Added test case for 'printf'