added table creation and deletion in tests