Remove dead code from test script