Update all misuses of regexp test