more lower level tests
make pbkdf2 python3 compatible
fix binstring compatibility in BlockIO class