C++ Template using GTest and GMock