I did try to import the post with the categories as follows based on your document. Also the post has category, child category and grand child category as well.
When i import posts with following categories
Animalia > Chordata > Mammalia
Categories are created successfully with same hierarchy. But grand child category is only selected when i edit the post. How can i select all categories when i bulk import the posts?