Fix compilation of tests on MSVC 2008
Fix CMake tests - delete non-existing test_connect_rid
Merge pull request #842 from ipechorin/master

Fix compilation of tests on MSVC 2008