Added in tests for the statistics class