fixed directory test again