Change ConsumeNumber to return error.
Change ConsumeWord to return error.
Fix blunder.
Update tests.