Minor fix in Regex unit tests