fix blowfish. add unit tests for blowfish