tests: use setUp and tearDown to handle temp csv file operations