fix test.cc in dev branch