Merge "cleanup resources in setUpClass if exception raised"