[tst] Better unit test for long int formatter. And fixes.