token: Add test cases for IsKeyword, IsOperator and IsLiteral.