Added initial test for stats module.