move tmp dir into setUpClass and tearDownClass