make sparse test a little tougher
bug fix to encoding hash values
minor spelling correction