add test for putString