Refactor NumberInWords.
Fix tests.