fix support for DB partitions
update test data
fix tests
fix tests