Fix dll load plus regex tests