test failures fixed

Some test were failing due to lack of use statement, others because of the new hash randomization