use subtests for readability; rmtree for directories

unlink doesn't do anything to a directory / folder on most platforms
so use rmtree.  This is probably overkill anyway since the directories
shouldn't exist if the test passes