test working directory feature