Add ht insert tests/implementation

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