calling test statistics as ptr objects
calling C++ functions directly when available