Test compare_db_with_drive