more hset checks in gencod.c
created test1_module which also exhibits the bug
hset_check_integrity with message
still hunting hset bug