I believe you're using the one declared outside the class. This one is only available within the scope of the setUpClass method.