Adding tests to CMakeLists.txt