Test for exercise 3's intersection and union'