Fix test of subdomain order

We should actually test the order based on ids and not the memory
address.
Use MPI_COMM_WORLD when initializing domains