Moved testing support to separate CMakeLists