fix readnumber eof bug, all token tests now passing