Converter handles null and tests for digits