test for InsertSpacesToString