plugin.statistic: moved test statistics plugin to separate module
statistic: added missing function