Fix equalTokens assertion in Firefox

A simple fix for the tests on Firefox