Fix test script sequences