Writes test for numeric input.