Test auto-commit