test former non empty dir