add test for to_s