(CMakeLists.txt) add test code in rosbuild
fix default insatll dir for rosbuild