Fix execution of tests that are run multiple times.

Due to separation of some test in TestJdbcQuery into TestViews and TestMetadataDDL
which are derived from TestJdbcQuery, all tests in TestJdbcQuery are run thrice.