Add hash collision tests to ExternalAppendOnlyMapSuite

As of now, the test "spilling with hash collisions using the Int.MaxValue key" fails.
Fixing this behavior is the main goal of this PR.