Fix setUpClass report failure, clode #218