Added testing to CMakeLists compatible with cdash