Adds precision and recall test metrics.