Bring the OptimallyGroupedTSLVisitor up to date.
Refactor AssetCollection::resolveLibraries() tests for readability.