Remove untested code
Improve user import tests
Remove untested code
Test badges
badge tests
Fix export UI