add test for string formatter