I wouldn’t say static typing is privileged, but that testing is disadvantaged, because, in the words of Edsger Dijkstra, “Program testing can be used to show the presence of bugs, but never to show their absence!”
https://www.cs.utexas.edu/users/EWD/transcriptions/EWD02xx/E...