Use Google C++ test framework to do unit-testing