Use CMake to enumerate test suites.

Relates #160.