Adding a more-exhaustive test for ties