added test_connect_rid file and added to CMakeLists again.