   describe "start of variable", ->
     it "parses the dollar sign at the beginning of a variable separately", ->
       {tokens} = grammar.tokenizeLine("$var")
-      expect(tokens[0]).toEqual value: "$", scopes: ["source.powershell", "keyword.other.powershell"]
+      expect(tokens[0]).toEqual value: "$", scopes: ["source.powershell", "keyword.other.variable.definition.powershell"]
       expect(tokens[1]).toEqual value: "var", scopes: ["source.powershell", "variable.other.readwrite.powershell"]
 
   describe "Double-quoted strings", ->

      for automaticVariable in automaticVariables
        {tokens} = grammar.tokenizeLine automaticVariable
        expect(tokens[0].value).toEqual "$"
        expect(tokens[0]).toHaveScopes ["source.powershell", "keyword.other.powershell"]
        if tokens[1]?
          expect(tokens[1].value).toEqual automaticVariable.substr(1)
          expect(tokens[1]).toHaveScopes ["source.powershell", "support.constant.automatic.powershell"]


    describe "Variables within a string", ->
      tokens = null
      expectedDollarSignScopes = ["keyword.other.variable.definition.powershell"]

      beforeEach ->
        {tokens} = grammar.tokenizeLine("\"Hi there $name `$bob\"")
