Test linking directory