Add unit test for adding folders with subfolders.