Added digit input tests.