CMakeLibTests: Use `runTests`

Also, improve it a little.
13 files changed