Fixed translation function for zero numbers.
Improved unit test.