Add testing facilities through gtest