Add ht insert tests

This is meant to solve #62.

I am not sure if the test I added is sufficient.