Correcting directory test