Replaced "equals" and "==" for "===" in pattern-matching tests