Added docs and more tests for new string formatting