Add test for format int  #526