Add test for emtpy dir