Moved tests from Analyzer.t to Statistics.t.

The tests originally in Analyzer.t were better suited as tests for the
Statistics.t, so they have been moved.

Tests were added to Analyzer.t to check that the Statistics object was
being properly handled (lifecycle-wise) by the Analyzer object.