Added tests for updating transitive closure.
Added new datasets for testing.
Added code for dropping temp tables in Sqlite backend.