Revert "Add test for #setPrivateKey"

This reverts commit 4954574cd0c7e7fe08e9e4fcafc630f6650db310.