Don't try to export missing objects
Add test for missing exports