                        "d",
                        ]
         XCTAssertNoThrow(try checkSimplePassFail(for: .regexDelimeter, passing: passing, failing: failing, expectNode: false))
+        do {
+            let token = STLRTokens.regexDelimeter
+            _ = try makeAST(for: token, from: "/")
+            XCTFail("Should have thrown no nodes")
+        } catch {
+        }
     }
 
     func testStartRegex(){

        let failing = [""]
        
        XCTAssertNoThrow(try checkSimplePassFail(for: .grammar, passing: passing, failing: failing, expectNode: true))
        #warning("Check strucure and errors")
    }
    
    func testGrammarDeclarationRule(){

        let failing = ["2a"]
        
        XCTAssertNoThrow(try checkSimplePassFail(for: .identifier, passing: passing, failing: failing, expectNode: true))
        
        do {
            let token = STLRTokens.identifier
            let ast = try makeAST(for: token, from: "abc")

            XCTAssertEqual(0, ast.children.count)
            XCTAssertEqual(token, ast.token as! STLRTokens)
        } catch {
            XCTFail("\(error)")
        }
    }

    func testElement(){
