add binary safe tests
fix memory leak in bcrypt_nif:gen_salt