Added test for union queries in Element::findAll().