clean mockery loading non-allowed module warnings