Tests for NID and CMakeLists