Clean enhanced metaclasses before test