test if dir is empty