The test was creating an empty .beads/ directory after simulating rm -rf, but FindBeadsDir() requires some project files (config.yaml, metadata.json, or *.db/*.jsonl) to recognize a directory as a valid beads directory. Updated the test to create a minimal config.yaml like bd init actually does before auto-import runs. This makes the test more realistic and fixes the flakiness.