Corrects Earley test script