Issue #3340146: Add test coverage for per-bundle export on UI, and for per-bundle and entity specific export on CLI
Closes #3340146