C++ Template with GTest and GMock