[#3506] Added test cases for INTERSECT and EXCEPT