I'm going to guess a lot of these are integration tests, not unit tests (simply going off execution time).
At that point, for DB testing, I doubt it matters what language test are written in, it's going to be mostly about setting up and tearing down the environment over and over.
The notions of tests written in C that take 20 hours I can't even fathom.