Updated helper method and revisited GetParentFoldersTestCases