test directory-commit