Added test for set1.isdisjoint(set2).
Code cleanups.