Some updates to file coercion spec.
Inlined test util into the only place it was used.
Removed unused method.
Changed dependency insight report to order dynamic selectors after static selectors and to use lexicographic ordering for dynamic selectors (rather than random ordering).