Index categories after import and add test import for categories.