Attempt to fix THUCYDIDES-130
Refactoring and some bug fixes
Made the default pie chart show a non-weighted view of the test counts