Added a test for the union operation.