Flush out all bundler_ext specs

A series of patches adding specs covering all of bundler_ext.

Some slight refactoring to bundler_ext internals to make things more modular and testable.

Shout out if anything else needs tbd to get this in.