Fixing broken test in equals.js