Fix string format
Add test patterns for int