added null check on tearDownClass