Implement ht tests

Targets #101