Adding fix for NullPointerException
Created tests for ConfusionMatrix
Updated tests for AccuracyCalculator to support subclassing