Fix setUpClass report failure, close #218