test for new directory