add union matching test