Fixed test for DiscretePredictionComparator.
Changed Atom equality semantics.