Fix conversion to decimal string, and simpler testcase. Close #13