fixed a few annoying small bugs in old tests, plus moved most csvs used for tests in a special resource folder for them.