Fix bug in test.
Support for digits <10.
Failing test for 10.