test.cc updated