Add ht insert tests

This is meant to solve #62.

I am not sure if the test I added is sufficient.
It should, using a user provided function, see issue #103.