Test input number validation