start on lib.crypt tests
update test to work with python 2.6
update test