wip: add tests
Make it possible to set initial hashtable size

Fixes #213.