added contingency matrix and statistic-based unit-tests