Added rudimentary score calculations.

Refactored TestRunner.