Test all of apply_database_changes.