add string to number implementation and tests