Add unit test for callable object format argument
Add changelog entry for #2313