test automatic add/commit