test the .union method