Fix binary-plugin scripted test so it can run more than once.