make PrivateKey tests pass by updating length with new correct length