Fixed cmake scripts to add only tests subdirs that contain CMakeLists.txt