Fix class Test of syntax errors