JDatabaseQueryTest::test__toStringUnion

Tests the union element of __toString.