Removed test code from CMakeLists.