[intersection] Add test for variant