Add unit test for the importCollection() method.