test empty dir