database tracking - move this into a "plugin"
Database and Transaction - hook into callbacks
Tests - delete dbs before and after tests
find - range error results in an empty result
add more events. move error_handling into a plugin.