Fix Equality Test

Fixes https://github.com/elm-lang/Elm/issues/617