Add test for creation of non-existent directory when that directory path is used to sync