Added one additional case to input testing for number detection as last string in file