feat(test): add csv option when import documents (closes #5223)