htools: add two more small unittests