fix db_sanity_test