Cleanup legacy test script