added isDigit test to var span
Added some test lines.