look for and fix places where hash() can be called  on a null key...
bring test up to date and fix