added dir test