directory rename detection: tests for handling overwriting untracked files