tests: Try not to use setUpClass, it does not exist in Python 2.6.