more explicit test for directory ready to write in