Now intersect IDs and add some more tests.