Fix TSG integration test script