Fix tolerate mixed case test regex