Added test for inputNumber