Enable CTest based testing

Call enable_testing() in top level CMakeLists.txt to allow
lower level bits use add_test.