DigitCommand tests