replaced references to increment_errors in tests