Tests run cleanly (at least shell versions do).

Note that this requires a few collections to be commented out, and a few tests to be disabled in a collection-specific manner with a BUGX flag (where X is a letter starting at A).