Complex sentence: The basis of the test is the Doctrine of Comity, i.e. the immediate forum court must respect the right of a foreign court to assume jurisdiction.
Split into simpler sentences: The basis of the test is the Doctrine of Comity. The current forum court must respect the right of a foreign court to assume jurisdiction.