Add legacy test conversion script.