Added test for string formatting.