Making sure mockery is torn down