c++ test&benchmark framework