Added test to verify that DROP VERSIONING sql is called correctly.