Issue #3126333 by mondrake, longwave: Replace usage of the optional $canonicalize parameter of assertEquals(), that is deprecated (cherry picked from commit bcbb6975)