Fixed some test issues that came up from bad tests

also removed some resources that are generated to try and keep commit diffs smaller, and made the tests auto-delete these directories before running tests to make sure that there is nothing there when making the directories

I will merge these manually since there are issues as some files/directories were deleted