Fix test script runner