Fixes exception with Long.toString method. Fixes incorrect getMessage
invocation from unit test runner.