add c++ test to the travis build