Adding test for closing folders on RestoreTask
Pass in datatypes