fix typo &  make proper tests fail in private_key_test()