script to test the number of times we attempt insert.

seems like this number is completely irrelevant?
Check for duplicate entries in the HT.

Which shouldn't happen, of course, since we check for that sort of
thing.
add script for varying how many elements we search.

to ensure no duplicates.  turned out to be irrelevant.
separate out some 'request' code to a separate file.