fixed dbobject delete_all test