Switch to lower-case CMake commands.
Get some of the test to run with ctest, rather than manually.