Modified test.cc