Added unittest file for stats module

sadasda