Adds filesys cleanup to unit tests