Fix multiple calls of setUpBeforeClass