Don't drop tables automatically
Make tableExists not use DB metadata
Add unit tests related to #340