Fix quickcheck test for duplicate keys.
Merge pull request #91 from benbjohnson/quickcheck

Fix quickcheck test for duplicate keys.