Add management command to import xml and tests