testing dir in path