test data directory search bug fixed