@Test(expected = SignatureException.class)
public void testBadBase64Sig() throws SignatureException {

    byte[] messageHash = new byte[32];
    ECKey.signatureToKey(messageHash, "This is not valid Base64!");
    fail("Expecting a SignatureException for invalid Base64");
}