JDatabaseQueryTest::testExec__toString

Tests the exec property in JDatabaseQuery::__toString method.