fixed unit tests that now rely on repository content_unit_counts metadata