Add optional test lines in cmake file if we fine a test.cpp at root