Fixed classpath on legacy test script.