added unit tests for statistic handlers