directory test fix